package com.miyu.common.pojo.base;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 基础dao使用 如果多个引用
 * @author longmy
 */
@Data
@Entity
@Table(name = "cos_base")
public class BasePojo implements Serializable {
    @Id
    @Column(name = "id", nullable = false, length = 32)
    private String id;
    @Column(name = "item_key",  length = 32)
    private String itemKey;
    @Column(name = "item_value",  length = 32)
    private String itemValue;
}
